<aside class="widget">
    <h3 class="box box-border">Hoạt động đang diễn ra</h3>
    <div class="box-border">
        <div class="event-logs event-small" style="display: none;">
        <?php foreach ($model as $data): ?>
            <div class="event-item">
                <div class="event-image">
                    <a href="<?php echo Yii::app()->createurl('/Users/Members/profile', array('id'=>$data->user_id)); ?>">
                        <img src="<?php echo IMAGES_URL . 'nte.jpg'; ?>" alt="<?php echo $data->message; ?>" />
                    </a>
                </div>
                <div class="event-content">
                    <?php echo CHtml::link($data->user->username, array('/Users/Members/profile', 'id'=>$data->user_id), array('title'=>$data->user->username)) . $data->message; ?>
                </div>
            </div>
        <?php endforeach; ?>
        </div>
    </div>
</aside>